package com.daka.service;

import com.daka.entity.ActivitySign;

import java.util.List;

/**
 * Created by yangx
 * CreateTime: 2016/9/18 16:38
 */
public interface ActivitySignService {

    int insert(ActivitySign po);

    int update(ActivitySign activity);

    ActivitySign selectByPrimaryKey(Integer id);

    List<ActivitySign> selectByStatement(ActivitySign po);
    int selectByStatementCount(ActivitySign po);

    ActivitySign findByActivityAndVolunteer(Integer activityId, Integer member);

    ActivitySign updateTimes(ActivitySign activitySign, int oldTime);
}
